/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述:  case_survey_people_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年12月14日
 */
@Table(name = "upcase.case_survey_people_info")
@Data
public class CaseSurveyPeopleInfo implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 证据类型
     */
    @Column(name = "cert_type")
    private String certType;

    /**
     * 证件号码
     */
    @Column(name = "cert_no")
    private String certNo;

    /**
     * 姓名
     */
    @Column(name = "name")
    private String name;

    /**
     * 住址
     */
    @Column(name = "address")
    private String address;

    /**
     * 手机号
     */
    @Column(name = "mobile")
    private String mobile;

    /**
     * 性别
     */
    @Column(name = "sex")
    private String sex;

    /**
     * 生日
     */
    @Column(name = "birth")
    private String birth;

    /**
     * 年龄
     */
    @Column(name = "age")
    private String age;

    /**
     * 工作单位地址
     */
    @Column(name = "unit_address")
    private String unitAddress;

    /**
     * 政治面貌
     */
    @Column(name = "political")
    private String political;

    /**
     * 文化程度
     */
    @Column(name = "education")
    private String education;

    /**
     * 文书id
     */
    @Column(name = "document_id")
    private String documentId;
    /**
     * 文书创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 民族
     **/
    @Column(name = "nationality")
    private String nationality;
    /**
     * 地址区划code
     */
    @Column(name = "address_area_code")
    private String addressAreaCode;

    /**
     * 详细地址(省市县后的地址)
     */
    @Column(name = "address_detail")
    private String addressDetail;
    private static final long serialVersionUID = 1L;

}
